package com.itheima;

import org.apache.commons.io.FileUtils;

import java.io.File;
import java.io.IOException;

/**
 * Hello world!
 *
 */
public class App {
    public static void main( String[] args ) throws IOException {
//        String s = FileUtils.readFileToString(new File("c:/1.txt"));
//        System.out.println(s);
//        String s2 = FileUtils.readFileToString(new File("c:/1.txt"),"gbk");
//        System.out.println(s2);
        FileUtils.writeStringToFile(new File("c:/2.txt"),"生命不息，奋斗不止。");
        //第一次修改!!!
        System.out.println("1234564651");
        System.out.println("23333333333333w");
        //董鉴
        System.out.println("1111111");

        //李佳伟
        System.out.println("123132123");
    }
}
